package com.wkbb.common.dto.wx;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.List;

/**
 * @author lizhichao
 * @date 2019/8/14
 * @description
 */
@Data
public class MpMenuInfoDto {

    /**
     * 编号
     */
    @ApiModelProperty(value = "编号")
    private Long id;

    /**
     * 父ID
     */
    @ApiModelProperty(value = "父ID")
    private Long parentId;

    /**
     * 账户ID
     */
    @ApiModelProperty(value = "账户ID")
    private Long accountId;

    /**
     * 名称
     */
    @ApiModelProperty(value = "名称")
    private String name;

    /**
     * 类型(1展开子菜单 2打开功能模块(URL) 3功能模块列表 4跳转小程序)
     */
    @ApiModelProperty(value = "类型(1展开子菜单 2打开功能模块(URL) 3功能模块列表 4跳转小程序)")
    private Short type;

    /**
     * 值
     */
    @ApiModelProperty(value = "值")
    private String value;

    /**
     * 小程序appid
     */
    @ApiModelProperty(value = "小程序appid")
    private String appId;

    /**
     * 操作
     */
    @ApiModelProperty(value = "操作")
    private String operation;

    /**
     * 备注
     */
    @ApiModelProperty(value = "备注")
    private String note;

    /**
     * 排序
     */
    @ApiModelProperty(value = "排序")
    private Short orderIndex;

    /**
     * 状态(0:无效 1:有效)
     */
    @ApiModelProperty(value = "状态(0:无效 1:有效)")
    private Boolean status;

    /**
     *  子菜单集合
     */
    @ApiModelProperty(value = "子菜单集合")
    private List<MpMenuInfoDto> subMpMenuInfoDtos;
    /**
     *  功能消息集合
     */
    @ApiModelProperty(value = "功能消息集合")
    private List<MpMessageDto> mpMessageDtoList;
}
